<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <th:block th:include ="/demo/include/base::commHead"></th:block>
    <style type="text/css">
        .code p{
            font-weight:bold;
        }
        .viewed{
            font-weight: normal;
        }
    </style>
    <title>选择医保平台</title>
</head>
<body class="ht">
<th:block th:include="commHeaderInclude::loading"></th:block>
<div class="tabTitle"><span><i class="mdi mdi-menu-up"></i>申请融资</span></div>
<div class="content-wrapper">
    <div class="breadCrumb">
        <i class="mdi mdi-map-marker"></i>
        <span>医保贷业务系统<i class="mdi mdi-chevron-double-right"></i>融资服务<i class="mdi mdi-chevron-double-right"></i>申请融资</span>
    </div>
    <form class="searchForm" id="searchForm" method="post" th:object="${sdto}">
        <div class="card mb-3">
            <div class="card-body">
                <h4 class="card-title">按条件查询融资记录</h4>
                <div class="module searchModule">
                    <ul class="mb-3">
                        <li>
                            <label class="label">中征融资申请编号</label>
                            <div><input type="text" th:value="${sdto.financeNo}" name="financeNo" placeholder="输入申请编号" /></div>
                        </li>
                        <li>
                            <label>资金方</label>
                            <div><input type="text" th:value="${sdto.bankOrgName}" name="bankOrgName" placeholder="输入资金方名称" /></div>
                        </li>
                        <li>
                            <label>业务状态</label>
                            <select name="financeStatus">
                                <option th:value="*{financeStatus}" selected role="OptionSelected"></option>
                                <option value="">全部</option>
                                <option value="1">启用</option>
                                <option value="2">停用</option>
                            </select>
                        </li>
                        <li>
                            <label>授权状态</label>
                            <select name="authStatus">
                                <option th:value="*{authStatus}" selected role="OptionSelected"></option>
                                <option value="">全部</option>
                                <option value="1">启用</option>
                                <option value="2">停用</option>
                            </select>
                        </li>
                        <li>
                            <label>申请时间</label>
                            <div><input type="date" th:value="*{applyTimeStart}" class="ht-dateInput" name="applyTimeStart" placeholder="输入开始时间" data-options="endSelector:'[name=applyTimeEnd]'" style="width: 106px;"/></div>
                            <span class="ht_dateText d-inlineBlock">至</span>
                            <div><input type="date" th:value="*{applyTimeEnd}" class="ht-dateInput" name="applyTimeEnd" placeholder="输入结束时间" data-options="startSelector:'[name=applyTimeStart]'" style="width: 106px;"/></div>
                        </li>
                        <li><label>医保统筹区</label>
                            <div role="SelectGroup" data-options="url:'/mcp/base/area/',defaultText:'全部'">
                                <select name="province">
                                    <option th:value="*{province}" class="selected" selected></option>
                                </select>
                                <select name="city" style="width: auto">
                                    <option th:value="*{city}" class="selected" selected></option>
                                </select>
                                <select name="county" style="width: auto">
                                    <option th:value="*{county}" class="selected" selected></option>
                                </select>
                            </div>
                        </li>
                    </ul>
                    <div class="searchBtnContainer">
                        <input class="btn btn-primary" type="submit" id="search" value="查询">
                        <input class="btn btn-clear" type="clear" role="ClearButton" value="清空">
                    </div>
                </div>
            </div>
        </div>
    </form>
    <form class="listForm" id="listForm"  method="post">
        <div class="card mb-3">
            <div class="card-body">
                <h4 class="card-title">
                    <span>申请融资列表</span>
                    <a class="btn btn-primary btn-sm" href="/mcp/demo/finance/create"><i class="mdi mdi-pencil"></i>新增（已添加novalidate跳过前端验证）</a>
                    <a class="btn btn-primary btn-sm" href="/mcp/demo/finance/create1"><i class="mdi mdi-pencil"></i>新增（前端验证示例）</a>
                    <a class="btn btn-primary btn-sm" href="/mcp/demo/finance/dialog" target="_blank">弹出展示</a>
                </h4>
                <div class="module">
                    <div class="hTableContainer">
                        <table cellpadding="0" cellspacing="0" class="hTable" style="min-width:1600px;">
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>申请时间</th>
                                <th>中征融资申请编号</th>
                                <th>医保统筹区</th>
                                <th>金融产品</th>
                                <th>资金方</th>
                                <th>币种</th>
                                <th>申请金额</th>
                                <th>授权状态</th>
                                <th>业务状态</th>
                                <th>撤销</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr th:each="li,item:${page.list}" >
                                <td th:text="${item.index+page.startRow+1}">1</td>
                                <td>2025-06-27</td>
                                <td style="line-height: 30px;" class="code">
                                    <p><a class="textLink-primary clickToViewed" href="detail?id=33" role="openFrameWindow">无刷新点击变已查看</a></p>
                                    <p><a class="textLink-primary" href="detail?id=33" role="openFrameWindow">中征融资申请编号</a></p>
                                    <p><a class="textLink-primary" href="detail?id=33" role="openFrameWindowLarge">中征融资申请编号 大</a></p>
                                    <p><a class="textLink-primary" href="detail?id=33" role="openFrameWindowSmall">中征融资申请编号 小</a></p>
                                    <p><a class="textLink-primary" href="detail?id=33" role="openFrameWindowFull">中征融资申请编号 全屏</a></p>
                                    <p><a class="textLink-primary" href="detail?id=33" role="openFrameWindowFree">中征融资申请编号 自由</a></p>
                                </td>
                                <td th:text="${li.accountBank}">4</td>

                                <td>5</td>
                                <td><a class="textLink-primary" href="detail?id=33" role="openFrameWindow"  th:text="${li.financeNo}">6</a></td>
                                <td >人民币元</td>
                                <td>8</td>
                                <td th:text="${li.financeNo}"></td>
                                <td th:text="${li.financeNo}"></td>
                                <td><a class="btn btn-outline-primary btn-sm" href="/mcp/demo/finance/cancel" role="openFrameWindow">撤销</a></td>
                                <td style="line-height: 30px; width: 110px">
                                    <p>无刷新点击变已查看</p>
                                    <p><a class="btn btn-outline-primary btn-sm clickToViewed" href="detail?id=1" role="openFrameWindow" style="width: 100px">查看</a></p>
                                    <p><a class="btn btn-outline-primary btn-sm" href="test?type=1" target="bridge" style="width: 100px">提示-父级刷新</a></p>
                                    <p> <a class="btn btn-outline-primary btn-sm" href="test?type=2" style="width: 100px">提示-重定向</a></p>
                                    <p><a class="btn btn-outline-primary btn-sm" href="test?type=3" style="width: 100px">提示-后退</a></p>
                                </td>
                            </tr>
                            </tbody>
                        </table>
<!--                        <div class="noneRecord"  style="min-width:1600px;">查无记录！</div>-->
                    </div>

<!--                    <th:block th:include ="commHeaderInclude::pageInfoComm">-->
<!--                    </th:block>-->
                </div>
            </div>
        </div>
    </form>

</div>
</body>
<script>
    var page=new ListPage();
    page.init();

    var ruleParser=new RuleParser("#searchForm");
    ruleParser.loadRule(baseUrl+"/demo/finance/indexSearchFormRule.json")
</script>
</html>